package com.jz.netthings.analysis.service;

import com.jz.netthings.analysis.bean.operManage.ProviderProcess;
import com.baomidou.mybatisplus.service.IService;
import com.jz.netthings.analysis.bean.operManage.PulpingFrequency;
import com.jz.netthings.exception.AdscmSystemException;

/**
 * <p>
 * 浆员献浆过程各环节数量统计图 服务类
 * </p>
 *
 * @author yangyunyun
 * @since 2019-07-22
 */
public interface ProviderProcessService extends IService<ProviderProcess> {

    /**
     * 构造指定时间的各个环节献浆过程数量统计
     * @param dateTime
     * @return
     * @throws AdscmSystemException
     */
    ProviderProcess loadProviderProcessByTime(String dateTime)throws AdscmSystemException;

    /**
     * 查询当天进站浆员的献浆频次饼图
     * @param date 日期
     * @param firstBlood 献浆间隔天数1
     * @param secondBlood 献浆间隔天数2
     * @param thirdBlood 献浆间隔天数3
     * @param fourthBlood 献浆间隔天数4
     * @return
     * @throws AdscmSystemException
     */
    PulpingFrequency pulpingFrequency(String date,Integer firstBlood,Integer secondBlood,Integer thirdBlood,Integer fourthBlood)throws AdscmSystemException;

}
